package com.sziit.se.highconcurrency.product.application.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sziit.se.highconcurrency.product.application.entity.Product;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dongchunkeng
 * @since 2022-11-08
 */
public interface IProductService extends IService<Product> {
    List<Product> getAllData();

    Boolean insertProduct(String productId,String productName, int inventory, float price);

    Product getOneData(String productId);

    Boolean updateOneDate(Product product);
}
